﻿// -----------------------------------------------------------------------
// <copyright file=DmBenhNhanBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmBenhNhanBusiness
    {
        DmBenhNhanDataAccess objDa = null;

        public DmBenhNhanBusiness()
        {
            objDa = new DmBenhNhanDataAccess();
        }

        public bool InsertDmBenhNhan(DmBenhNhanEntity obj)
        {
            return objDa.InsertDmBenhNhan(obj);
        }

        public bool EditDmBenhNhan(DmBenhNhanEntity obj)
        {
            return objDa.EditDmBenhNhan(obj);
        }

        public bool DeleteDmBenhNhan(string maBenhNhan)
        {
            return objDa.DeleteDmBenhNhan(maBenhNhan);
        }

        public DmBenhNhanEntity GetDmBenhNhan(string maBenhNhan)
        {
            return objDa.GetDmBenhNhan(maBenhNhan);
        }

        public IList<DmBenhNhanEntity> GetDmBenhNhanList()
        {
            return objDa.GetDmBenhNhanList();
        }

    }
}